package com.example.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.domain.entity.PlantCategory;
import com.example.exception.FloraException;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zrr
 * @since 2022-12-06
 */
public interface IPlantCategoryService extends IService<PlantCategory> {

    PlantCategory addPlantCategory(PlantCategory plantCategory)throws FloraException;

    PlantCategory updatePlantCategory(PlantCategory plantCategory)throws FloraException;

    PlantCategory getPlantCategoryById(Long id);
}
